package org.jnarcissus.sample;

public class JustAnotherTestClass {

	private String textField1;

	private String textField2;

	/**
	 * Returns the textField1 value.
	 * 
	 * @return textField1 value.
	 */
	public String getTextField1() {
		return textField1;
	}

	/**
	 * Sets the textField1 value.
	 * 
	 * @param textField1
	 *            New value.
	 */
	public void setTextField1(String textField1) {
		this.textField1 = textField1;
	}

	/**
	 * Returns the textField2 value.
	 * 
	 * @return textField2 value.
	 */
	public String getTextField2() {
		return textField1;
	}

	/**
	 * Sets the textField2 value.
	 * 
	 * @param textField2
	 *            New value.
	 */
	public void setTextField2(String textField2) {
		this.textField1 = textField2;
	}

	/**
	 * A method with an argument that impacts the returned value.
	 * 
	 * @param number
	 *            Number argument.
	 * @return The supplied number to String.
	 */
	public String numberToString(int number) {

		if (number == 0)
			return "Zero";
		else if (number == 1)
			return "One";
		else
			return "Don't know";
	}
}
